package org.example.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/5/31
 * Email haijunzhou@hnit.edu.cn
 */
@RestController
public class MyStarterDo {

    @Value("${mystarter.text}")
    private String text;

    @GetMapping("showText")
    String showText(){
        return text;
    }
}
